package com.example.mideaoem.api.handler;

/**
 * 网络头加密解密
 * @author zhongjunwei
 *
 */
public interface MessageManagerHandler {

	/**
	 * 加密
	 * @param bytes
	 * @param applianceId
	 * @param accessToken
	 * @return
	 */
	public String encryptString(byte[] bytes, String applianceId, String accessToken);
	
	/**
	 * 解密
	 * @param accessToken
	 * @param reply
	 * @return
	 */
	public String decryptString(String accessToken, String reply);
	
}
